import request from '@/api/request.js'

//自助发单游戏列表
export const GetAllGamesInfoApi = data => {
	return request(`/system/gamesInfo/queryAllGamesInfo`, 'GET', data, false)
}
//自助下单
export const GetSelfHelpTagsApi = data => {
	return request(`/system/gamesInfo/getGamesDetailByGamesId`, 'GET', data, false)
}

//获取游戏＋tabs列表
export const GetGamesTabsApi = data => {
	return request(`/system/gamesPackage/queryAll`, 'GET', data, false)
}
//获取推荐套餐-列表
export const GetGamesPackageInfoApi = data => {
	return request(`/system/gamesPackageInfo/queryPageInfo`, 'GET', data, false)
}

//获取推荐套餐-详情
export const GetGamesDetailApi = data => {
	return request(`/system/gamesPackageInfo/queryPageDetail`, 'GET', data, false)
}

//获取游戏英雄信息
export const GetGamesHeroApi = data => {
	return request(`/system/gamesTypeTagSpecialRequirements/queryHeroByGameId`, 'GET', data, false)
}
//自助下单-根据游戏id和代练类型获取展示的输入框
export const GetAutoGamesInputApi = data => {
	return request(`/system/gamesTypeTagVicariousInfo/queryGameTag`, 'GET', data, true)
}
//自助下单-获取段位
export const GetGamesQualifyApi = data => {
	return request(`/system/gameQualify/queryQualifyByGamesId`, 'GET', data, true)
}
//套餐详情-根据游戏id和代练类型获取展示的输入框
export const GetGamesInputApi = data => {
	return request(`/system/gamesTypeTagVicariousPackageInfo/queryGamePackageTag`, 'GET', data, true)
}

//	获取所有游戏
export const GetGamesListApi = data => {
	return request(`/system/gamesInfo/queryAllGameInfo`, 'GET', data, false)
}

//	获取自定义发单游戏
export const GetCustomizationGamesListApi = data => {
	return request(`/system/gamesInfo/queryAllGamesCustomization`, 'GET', data, false)
}

//	获取发单群聊信息
export const GetGroupChatApi = data => {
	return request(`/system/gamesBillGroupChat/queryGroupChat`, 'GET', data, false)
}

//	获取区服保存信息
export const GetGamesInfoApi = data => {
	return request(`/system/gamesTypeTagRegion/queryGamesInfo`, 'GET', data, false)
}
//代练大神
export const GetclientPageList = (data) => {
	return request(`/system/customerOrder/clientPageList`, 'GET', data, true)
}
//获取保险套餐
export const GetInsuranceDictionaryListApi = (data) => {
	return request(`/pay/payInsuranceDictionary/byAmount`, 'GET', data, false)
}